<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2023/3/27
  Time: 10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>注册</title>
    <style>
        .reg {
            border: 1px solid silver;
            width: 350px;
            margin: 50px auto;
            padding: 5px;
            background: snow;
        }

        .formInput, .formRadio, .formBox, .formBtn {
            margin: 5px;
        }

        .formInput input, .formInput textarea {
            width: 320px;
        }
        .formBtn input {
            margin-right: 5px;
        }

        .formBtn i {
            font-size: 9px;
        }
    </style>
</head>
<body>
<div class="reg">

    <form action="register_result.jsp" method="post">
        <div class="formInput">
            <input type="text" name="username" placeholder="用户名">
        </div>
        <div class="formInput">
            <input type="password" name="passwd" placeholder="密码">
        </div>
        <div class="formInput">
            <input type="password" name="passwd2" placeholder="确认密码">
        </div>
        <div class="formInput">
            <input type="text" name="age" placeholder="年龄">
        </div>
        <div class="formRadio">
            <input type="radio" name="gender" value="男">男
            <input type="radio" name="gender" value="女">女
        </div>
        <div class="formBox">
            <input type="checkbox" name="favor" value="编程">编程
            <input type="checkbox" name="favor" value="算法">算法
            <input type="checkbox" name="favor" value="前端">前端
            <input type="checkbox" name="favor" value="游戏">游戏
        </div>
        <div class="formInput">
            <textarea name="remark" cols="30" rows="3" placeholder="个性签名"></textarea>
        </div>
        <div class="formBtn">
            <input type="submit" value="立即注册"><input type="reset" value="取消"><i><a href="login.jsp">已有账号？请登录</a></i>
        </div>

    </form>

</div>
</body>
</html>
